package com.hxkj.domain.po;

/**
 * 用户表
 * created by kezhijie on $date $time.
 * email to kezhijie@hxoss.com
 */
public class SysUser {
    // 用户ID
    private String userId;

    // 用户名
    private String userAccount;

    // 用户真实姓名
    private String realName;

    // 密码
    private String password;

    // 盐值
    private String salt;

    // 电话
    private String phone;

    // 邮箱
    private String email;

    // 性别
    private String gender;

    // 证件类型
    private String certifyType;

    // 证件号码
    private String certifyNumber;

    // 省
    private String province;

    // 市
    private String city;

    // 区
    private String district;

    // 用户状态
    private Byte userStatus;

    // 用户头像
    private String avatar;

    // 头像缩略图
    private String thumbnail;

    // 备注
    private String comment;

    // 帐号过期时间
    private Long expirationTime;

    // 创建时间
    private Long createTime;

    // 修改时间
    private Long updateTime;

    // 删除位
    private String delTag;

    // 用户名是否修改
    private String userAccountUpdated;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public String getUserAccount() {
        return userAccount;
    }

    public void setUserAccount(String userAccount) {
        this.userAccount = userAccount == null ? null : userAccount.trim();
    }

    public String getRealName() {
        return realName;
    }

    public void setRealName(String realName) {
        this.realName = realName == null ? null : realName.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getSalt() {
        return salt;
    }

    public void setSalt(String salt) {
        this.salt = salt == null ? null : salt.trim();
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone == null ? null : phone.trim();
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email == null ? null : email.trim();
    }

    public String getGender() {
        return gender;
    }

    public void setGender(String gender) {
        this.gender = gender == null ? null : gender.trim();
    }

    public String getCertifyType() {
        return certifyType;
    }

    public void setCertifyType(String certifyType) {
        this.certifyType = certifyType == null ? null : certifyType.trim();
    }

    public String getCertifyNumber() {
        return certifyNumber;
    }

    public void setCertifyNumber(String certifyNumber) {
        this.certifyNumber = certifyNumber == null ? null : certifyNumber.trim();
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province == null ? null : province.trim();
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city == null ? null : city.trim();
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district == null ? null : district.trim();
    }

    public Byte getUserStatus() {
        return userStatus;
    }

    public void setUserStatus(Byte userStatus) {
        this.userStatus = userStatus;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar == null ? null : avatar.trim();
    }

    public String getThumbnail() {
        return thumbnail;
    }

    public void setThumbnail(String thumbnail) {
        this.thumbnail = thumbnail == null ? null : thumbnail.trim();
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment == null ? null : comment.trim();
    }

    public Long getExpirationTime() {
        return expirationTime;
    }

    public void setExpirationTime(Long expirationTime) {
        this.expirationTime = expirationTime;
    }

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Long updateTime) {
        this.updateTime = updateTime;
    }

    public String getDelTag() {
        return delTag;
    }

    public void setDelTag(String delTag) {
        this.delTag = delTag == null ? null : delTag.trim();
    }

    public String getUserAccountUpdated() {
        return userAccountUpdated;
    }

    public void setUserAccountUpdated(String userAccountUpdated) {
        this.userAccountUpdated = userAccountUpdated;
    }

    @Override
    public String toString() {
        return "User{" +
                "userId='" + userId + '\'' +
                ", userAccount='" + userAccount + '\'' +
                ", realName='" + realName + '\'' +
                ", password='" + password + '\'' +
                ", salt='" + salt + '\'' +
                ", phone='" + phone + '\'' +
                ", email='" + email + '\'' +
                ", gender='" + gender + '\'' +
                ", certifyType='" + certifyType + '\'' +
                ", certifyNumber='" + certifyNumber + '\'' +
                ", province='" + province + '\'' +
                ", city='" + city + '\'' +
                ", district='" + district + '\'' +
                ", userStatus=" + userStatus +
                ", avatar='" + avatar + '\'' +
                ", thumbnail='" + thumbnail + '\'' +
                ", comment='" + comment + '\'' +
                ", expirationTime=" + expirationTime +
                ", createTime=" + createTime +
                ", updateTime=" + updateTime +
                ", delTag='" + delTag + '\'' +
                ", userAccountUpdated='" + userAccountUpdated + '\'' +
                '}';
    }
}
